<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@include file="/jsp/common/head.jsp"%>
<div class="right">
    <div class="location">
        <strong>你现在所在的位置是:</strong>
        <span>订单管理页面 >> 订单信息修改页面</span>
    </div>
    <div class="providerAdd">
        <form id="billForm" name="billForm" method="post" action="${pageContext.request.contextPath}/jsp/bill.do">
            <input type="hidden" name="method" value="modifyexe">
            <input type="hidden" name="billid" value="${bill.id}"/>
            <div>
                <label for="billCode">账单编码：</label>
                <input type="text" name="billCode" id="billCode" value="${bill.billCode}">
                <font color="red"></font>
            </div>
            <div>
                <label for="productName">商品名称：</label>
                <input type="text" name="productName" id="productName" value="${bill.productName}">
                <font color="red"></font>
            </div>
            <div>
                <label for="productDesc">商品描述：</label>
                <input type="text"  id="productDesc" name="productDesc" value="${bill.productDesc }">
                <font color="red"></font>
            </div>
            <div>
                <label for="productUnit">商品单位：</label>
                <input type="text" name="productUnit" id="productUnit" value="${bill.productUnit }">
                <font color="red"></font>
            </div>
            <div>
                <label for="productCount">商品数量：</label>
                <input type="text" name="productCount" id="productCount" value="${bill.productCount }">
                <font color="red"></font>
            </div>
            <div>
                <label for="totalPrice">总金额：</label>
                <input type="text" name="totalPrice" id="totalPrice" value="${bill.totalPrice }">
                <font color="red"></font>
            </div>
            <div>
                <label >是否支付：</label>
<%--                <input type="text" name="isPayment" id="isPayment" value="${bill.isPayment }">--%>
                <input type="hidden" value="${bill.isPayment}" id="isP" />
                <input type="hidden" value="已付款" id="isP2" />
                <input type="hidden" value="未付款" id="isP1" />
                <select name="isPayment" id="isPayment"></select>
                <font color="red"></font>
            </div>
            <div>
                <label >供应商名称：</label>
                <input type="hidden" value="${bill.providerId}" id="pid" />
                <select name="providerId" id="providerId"></select>
                <font color="red"></font>
            </div>
            <div class="providerAddBtn">
                <input type="button" name="save" id="save" value="保存" />
                <input type="button" id="back" name="back" value="返回"/>
            </div>
        </form>
    </div>
</div>
</section>
<%@include file="/jsp/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/billmodify.js"></script>

